package com.teamwork.demo.entity;


import org.hibernate.annotations.GenericGenerator;

import jakarta.persistence.*;
import java.io.Serializable;
@Entity
@Table(name = "stu")
public class Stu implements Serializable {


    /**
     * null
     */
    @Id
    @Column(name = "sid")
    private Integer sid;

    /**
     * null
     */
    @Column(name = "sname")
    private String sname;

    /**
     * null
     */
    @Column(name = "smajor")
    private String smajor;

    /**
     * null
     */
    @Column(name = "sgrade")
    private String sgrade;

    /**
     * null
     */
    @Column(name = "sgroup")
    private String sgroup;


    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }


    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }


    public String getSmajor() {
        return smajor;
    }

    public void setSmajor(String smajor) {
        this.smajor = smajor;
    }


    public String getSgrade() {
        return sgrade;
    }

    public void setSgrade(String sgrade) {
        this.sgrade = sgrade;
    }


    public String getSgroup() {
        return sgroup;
    }

    public void setSgroup(String group) {
        this.sgroup = group;
    }

}
